package com.yzf.demo.demo.DesignPattren.SingletonPattern.ThreadLocalSingleton;

/**
 * Created by 于占峰 on 2020/3/2/002.
 */
public class test {
    public static void main(String[] args) {
        System.out.println(ThreadLocalSingleton.getInstance());
        System.out.println(ThreadLocalSingleton.getInstance());
        System.out.println(ThreadLocalSingleton.getInstance());
        System.out.println(ThreadLocalSingleton.getInstance());
    }
}
